from django.template import RequestContext, loader
from django.http import HttpResponse
def index(request):
    t = loader.get_template('yakitori/index.html')

#pass variables here
    headline_rss_url='http://www.channelnewsasia.com/rss/latest_cna_frontpage_rss.xml'
    c = RequestContext(request, {
            'headline_rss_url':headline_rss_url,
            })
 
    return HttpResponse(t.render(c))

def newsvine(request):
    t = loader.get_template('yakitori/newsvine_home.html')

#pass variables here
#    headline_rss_url='http://www.channelnewsasia.com/rss/latest_cna_frontpage_rss.xml'
    c = RequestContext(request, {
 #           'headline_rss_url':headline_rss_url,
            })
 
    return HttpResponse(t.render(c))


